
	function handleEnter(field, event) {
		var keyCode = event.keyCode ? event.keyCode : event.which ? event.which
				: event.charCode;
		if (keyCode == 13) {
			var i;
			for (i = 0; i < field.form.elements.length; i++)
				if (field == field.form.elements[i])
					break;
			i = (i + 1) % field.form.elements.length;
			field.form.elements[i].focus();
			return false;
		} else
			return true;
	}
	
	function enterTab(evt){
    	if(evt.keyCode==13)
    	{
        	if (navigator.appName == 'Microsoft Internet Explorer')
        	{
            	window.event.keyCode=9;
            	return false;
        	}
        	else if (navigator.appName == 'Netscape')
        	{
            	var el, l, k = 13, e = evt.target;
            	if( k && !/textarea|select/i.test( evt.type ) && !evt.preventDefault() )
            	{
                	for( l = k = ( el = e.form.elements ).length; el[--k] != e;
				);
                while( !(e = el[ k = ++k * ( k < l ) ]).type || e.disabled);
                e.focus();
            }

            	return false;
        	}		
    	}

	} 
	
